package com.example.datachangerecord.record.eneity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 日志表实体类
 *
 * @author xyj
 */
@Data
@TableName(value = "be_record_log")
public class LogBody {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField(exist = false)
    private String userId;


    @TableField(value = "OPERATE_NAME")
    private String userName;

    @TableField(value = "OPERATE_DATE")
    private Date operateDate;

    @TableField(value = "OPERATE_DSC")
    private String desc;

    @TableField(value = "OPERATE_TARGET")
    private String operateTarget;


    @TableField(value = "OPERATE_TARGET_DESC")
    private String operateTargetDesc;

    @TableField(value = "HELP_TARGET")
    private String helpValue;

    @TableField(value = "HELP_TARGET_DESC")
    private String helpValueDesc;

    @TableField(value = "REMARK")
    private String remark;


    @TableField(value = "TABLE_NAME")
    private String tableName;

    @TableField(value = "FIELD_NAME")
    private String fieldName;

    @TableField(value = "FIELD_DESC")
    private String fieldDesc;

    @TableField(value = "PER_DATA")
    private String perData;

    @TableField(value = "AFTER_DATA")
    private String afterData;

    @TableField(value = "RECORD_TYPE")
    private String recordType;

    @TableField(value = "IP")
    private String ip;
}
